package com.kc.business.domain;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * TODO
 *
 * @author zhangshuo
 * @version 1.0
 * @date 2020/9/16
 */
@Data
@Table(name = "biz_enter_type")
public class BizEnterType implements Serializable {
    @Id
    private Integer typeId;
    /** 入驻类型名称 */
    @NotBlank(message = "入驻类型名称")
    private String typeName;

    /** 入驻类型描述 */
    private String typeDesc;

    /** 入驻类型标识 */
    @NotBlank(message = "入驻类型标识")
    private String typeCode;

    /** 状态 0正常 1禁用 */
    private String status;

    /** 排序 */
    private Integer indexNum;

    @NotBlank(message = "背景图")
    private String imgUrl;
    @NotBlank(message = "详情描述")
    private String descDetail;
}
